package cn.duomi.user.application;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@SpringBootApplication(scanBasePackages = { "cn.duomi.**.controller", "cn.duomi.**.service.impl" })
@EnableJpaRepositories(basePackages = { "cn.duomi.**.dao" })
@EntityScan({ "cn.duomi.**.domain" })
public class UserApplication {

	public static void main(String[] args) {
		SpringApplication.run(UserApplication.class, args);
	}

}
